package com.woniuxy.driverschool.mapper;

import com.woniuxy.driverschool.entity.CoachAndCar;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author shichen
 * @create 2021-10-11-19:38
 * @description
 */

@Mapper
public interface CoachAndCarMapper {

    /**
     * 究极查询
     * @param coachAndCar
     * @return
     */
    List<CoachAndCar> selectAll(CoachAndCar coachAndCar);

    /**
     * 插入数据
     * @param coachAndCar
     */
    void insertCocachAndCar(CoachAndCar coachAndCar);

    /**
     * 修改状态
     * @param coachAndCar
     */
    void modifyState(CoachAndCar coachAndCar);
}
